/**
 * FileName：BusinessException.java   
 * Project: spEnterpriseIF
 * Creator：Ding Zhe   
 * TimeCreated：May 30, 2011 10:16:30 AM    
 * Copyright: UMPAY 2011  
 */
package com.umpay.privi.exception;

import com.umpay.privi.common.BaseException;
import com.umpay.privi.util.PropertiesUtil;

/**         
 * @author：Ding Zhe 
 * @description：     
 * @version    
 */
public class BusinessException extends BaseException {

	private static final long serialVersionUID = -7666818347499147161L;

	public BusinessException(String code,String msg) {
		super(code,msg);
	}
	
	public BusinessException(String code,String msg, Throwable e) {
		super(code,msg,e);
	}
	
	public BusinessException(String code,Throwable e) {
		super(code,e);
	}

	public BusinessException(String code, Object[] args, Throwable e) {
		super(code,PropertiesUtil.getValue(code, args),e);
	}
	public BusinessException(String code) {
		super(code,PropertiesUtil.getValue(code));
	}

	public BusinessException(String code, Object[] args) {
		super(code,PropertiesUtil.getValue(code, args));
	}
}
